public class Jiami {
    public static void main(String[] args) {
//        String hashpw = BCrypt.hashpw("123456", BCrypt.gensalt());
////        String hashpw1 = BCrypt.hashpw("123456", BCrypt.gensalt());
//        System.out.println(hashpw);
////        System.out.println(hashpw1);
        //$2a$10$5Q8/VPs5pLmRJUuMxMjZZeC15rFz3xmoTIRVjMkVNZQhxzV4SZxb2
//        boolean checkpw = BCrypt.checkpw("12345666", "$2a$10$5Q8/VPs5pLmRJUuMxMjZZeC15rFz3xmoTIRVjMkVNZQhxzV4SZxb2");
//        System.out.println(checkpw);
        String hashpw = BCrypt.hashpw("123456", BCrypt.gensalt());
        System.out.println(hashpw);
    }
}
